From b6d8dea8bfde631c3c1aa723627717c5b8712306 Mon Sep 17 00:00:00 2001 From: "sos22@douglas.cl.cam.ac.uk" Date: Fri, 22 Jul 2005 14:25:10 +0000 Subject: [PATCH] In 2.6.12-land, do_debug and do_int3 return void. Make sure we don't try to use their return values anywhere. Signed-off-by: Steven Smith, sos22@cam.ac.uk. --- linux-2.6-xen-sparse/arch/xen/i386/kernel/entry.S | 4 ---- 1 file changed, 4 deletions(-) diff --git a/linux-2.6-xen-sparse/arch/xen/i386/kernel/entry.S b/linux-2.6-xen-sparse/arch/xen/i386/kernel/entry.S index 1fa27ad04c..93a641ded4 100644 --- a/linux-2.6-xen-sparse/arch/xen/i386/kernel/entry.S +++ b/linux-2.6-xen-sparse/arch/xen/i386/kernel/entry.S @@ -613,8 +613,6 @@ debug_stack_correct: xorl %edx,%edx # error code 0 movl %esp,%eax # pt_regs pointer call do_debug - testl %eax,%eax - jnz restore_all jmp ret_from_exception #if 0 /* XEN */ @@ -669,8 +667,6 @@ ENTRY(int3) xorl %edx,%edx # zero error code movl %esp,%eax # pt_regs pointer call do_int3 - testl %eax,%eax - jnz restore_all jmp ret_from_exception ENTRY(overflow) -- 2.30.2